﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp2
{
    class User
    {
        public User(string uid,string pwd,string tel)
        {
            this.Uid = uid;
            this.Pwd = pwd;
            this.Tel = tel;
        }
        public string Uid { get; set; }
        public string Pwd { get; set; }
        public string Tel { get; set; }
        public void PrintMsg()
        {
            Console.WriteLine("用户名："+this.Uid);
            Console.WriteLine("密码：" + this.Pwd);
            Console.WriteLine("电话号码：" + this.Tel);
        }
    }
}
